package main

import "fmt"

func MyPrint(args ...interface{}) {
	for _,v := range args {
		switch v.(type) {
		case string:
			fmt.Println("the args is string")
		case int:
			fmt.Println("the args is int")
		case float64:
			fmt.Println("the args is float64")
		default:
			fmt.Println("the type is unknow")
		}
	}

}

func main() {
	MyPrint(1,2.0,3,4,"3213","312321")
	MyPrint(1.0,2.1)
	MyPrint("sdadasda")
	MyPrint("s")
}
